package com.lins.storedisk.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author linshuo
 * @Date 2023/12/8 9:35
 */
@Data
public class TreeDTO implements Serializable {

    private Integer id;
    @JsonProperty("pId")
    private Integer pId;
    private String name;

    public TreeDTO() {
    }

    public TreeDTO(Integer id, Integer pId, String name) {
        this.id = id;
        this.pId = pId;
        this.name = name;
    }
}
